package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.role.RoleDTO;
import com.qk.entity.Role;

import java.util.List;

/**
 *
 *
 * @author blusr
 * @version 1.0
 * @date 2025/10/7 19:49
 */
public interface RoleService {
    PageResult<Role> page(RoleDTO roleDto);

    void addRole(Role role);

    void deleteRole(Long id);

    Role getRole(Long id);

    void updateRole(Role role);

    List<Role> getRoles();
}
